﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using Microsoft.SharePoint;
using Microsoft.SharePoint.WebControls;

namespace DVK.SP2007.Views
{
    public interface ISendToDvkView
    {
        //Controls/Fields
        PeopleEditor Author { get; }
        PeopleEditor Compilators { get; }
        DateTime? SendDate { get; set; }
        string Comments { get; }
        string DocumentLanguage { get; }
        string DocumentType { get; }
        string DocumentVersion { get; }
        string DvkFolder { get; }
        string DvkType { get; }
        string MessageTitle { get; }
        bool UseAuthorAsCompany { get; }
        string DocumentName { get; }

        HttpSessionState Session { get; }
        string ItemUrl { get; }
        string ListId { get; }

        Dictionary<string, string> Errors { get; }
        void ShowError(string text, params object[] data);
        void ShowErrors();

        void RedirectToSource();

    }
}
